package com.wise.entities.content;

import com.wise.framework.basic.IEnum;

public enum ArticleStatus implements IEnum<Integer> {

    success(2,"审核通过"),

    NOTPUBLISH(0,"未发布"),

    PUBLISH(1,"发布");

    private Integer value;

    private String title;

    ArticleStatus(Integer value,String title){
        this.value = value;
        this.title=title;
    }

    @Override
    public Integer value() {
        return value;
    }

    @Override
    public String title() {
        return title;
    }
}
